<template>
	<view class="contact">
		<image class="img" src="http://www.itcast.cn/2018czydz/images/gywmban.jpg"></image>
		<view class="info">
			<view @click="phone()">联系电话：10086（点击拨打）</view>
			<view>地址：哪里都行</view>
		</view>
		<map class="map" :longitude="longitude" :latitude="latitude"  :scale="scale" :markers="markers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:113.90 ,
				latitude:22.57,
				scale:13,
				markers:[
					{
						longitude:113.90 ,
						latitude:22.57,
						iconPath:'../../static/2.png',
						width:30,
						height:30
					}
				]
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber:'18046820989'
				})
			}
		}
	}
</script>

<style lang="scss">
	.img{
		width: 750rpx;
		height: 320rpx;
	}
	.info{
		padding: 10rpx 20rpx;
		font-size: 30rpx;
		view{
			line-height: 60rpx;
			border-bottom:1px solid #eee ;
		}
	}
	.map{
		width: 750rpx;
		height: 750rpx;
	}
</style>
